package com.usian.mapper;

import com.usian.articles.Articles;
import com.usian.column.Vermicelli;
import com.usian.user.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface VermicelliMapper {

    @Select("select * from vermicelli  where vermicelli_id=#{id}")
    List<Vermicelli> getVermicelliList(Integer id);

    @Select("select * from articles where userid=#{concernId}")
    List<Articles> selectArticles(Integer concernId);

    @Select("select * from tb_user where id=#{concerId}")
    User selectUserById(Integer concernId);


}